package com.mrart.common.constant;

import org.springframework.core.PriorityOrdered;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.parser.Feature;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class ConfigConstant implements PriorityOrdered{
    
    public ConfigConstant() {
        JSON.DEFAULT_PARSER_FEATURE |= Feature.AllowISO8601DateFormat.getMask();
        JSON.DEFAULT_GENERATE_FEATURE |= SerializerFeature.UseISO8601DateFormat.getMask();
    }
	public static String API_JAVA_HOST = "http://dev.japi.gomrwind.com:5000/WindCloud/" ;
	public static String API_PYTHON_HOST = "http://dev.api.gomrwind.com:5000/express/";
	
	public static String API_DFENG_XIN_HOST = "http://123.57.45.209:5000/";
//	public static String API_DFENG_XIN_HOST = "http://182.92.240.69:5000/";
	
//	public static String OUR_HOST = "http://dev.japi-data.gomrwind.com:5000/";
	
	public static String OUR_HOST = "1";
	
	public void setAPI_JAVA_HOST(String aPI_JAVA_HOST) {
		API_JAVA_HOST = aPI_JAVA_HOST;
	}
	public void setAPI_PYTHON_HOST(String aPI_PYTHON_HOST) {
		API_PYTHON_HOST = aPI_PYTHON_HOST;
	}
	public void setAPI_DFENG_XIN_HOST(String aPI_DFENG_XIN_HOST) {
		API_DFENG_XIN_HOST = aPI_DFENG_XIN_HOST;
	}
	public static void setOUR_HOST(String oUR_HOST) {
		OUR_HOST = oUR_HOST;
	}
	@Override
	public int getOrder() {
		return PriorityOrdered.HIGHEST_PRECEDENCE;
	}
	
}
